/********************************************************************
  A SymbolBrowser plugin for JuffEd editor.

  Copyright: 2010 Aleksander Sokoloff <asokol@mail.ru>


  This program is free software; you can redistribute it and/or
  modify it under the terms of the GNU General Public License.
  version 2 as published by the Free Software Foundation.

  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.

  You should have received a copy of the GNU General Public License
  along with this program; if not, write to the Free Software Foundation,
  Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
*********************************************************************/


#ifndef KATE_DOCUMENT_PARSER_H
#define KATE_DOCUMENT_PARSER_H

#include "common/documentparser.h"
#include <ktexteditor/document.h>


class KateDocumentParser : public DocumentParser
{
Q_OBJECT
public:
    explicit KateDocumentParser(SymbolBrowserView *view, KTextEditor::Document * parent);
    virtual ~KateDocumentParser();

    KTextEditor::Document *kateDocument() const { return mKateDocument; }

    virtual Language language() const;
    virtual void getText(QString &text) const;
    virtual void skipToLine(int line);

private:
    KTextEditor::Document *mKateDocument;


};


#endif // KATE_DOCUMENT_PARSER_H



